<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/3/6
 * Time: 22:34
 */

namespace app\admin\validate;


use think\Validate;

class Article extends Validate
{
    protected $rule = [
        'subject'   => 'require|min:2',
        'cid'       => 'require|number',
        'dis_order' => 'require|number',
        'status'    => 'require|number|between:0,1',
    ];
}